package com.gyx.lottery.service;

import com.gyx.lottery.controller.param.CreateAcivityParam;
import com.gyx.lottery.controller.param.PageParam;
import com.gyx.lottery.service.dto.ActivityCreateDTO;
import com.gyx.lottery.service.dto.ActivityDTO;
import com.gyx.lottery.service.dto.ActivityDetailDTO;
import com.gyx.lottery.service.dto.PageListDTO;

public interface ActivityService {
    ActivityCreateDTO createActivity(CreateAcivityParam param);

    PageListDTO<ActivityDTO> findList(PageParam param);

    ActivityDetailDTO searchActivityDetail(Long activityId);
    void cacheAcitivity(Long activityId);
}
